package com.web.service;

import com.dto.BaseDto;
import com.entity.Condition;
import com.entity.Employrecord;
import com.page.PageInfo;

import java.text.ParseException;
import java.util.List;

public interface EmployrecordService {
    public BaseDto<Employrecord> getAll() throws Exception ;
    public BaseDto<Employrecord> getEmployrecordsByPage(PageInfo pageInfo) throws Exception;


    /**
     * 添加会员
     * @param employrecord
     * @return
     * @throws Exception
     */
    public BaseDto<Employrecord> add(Employrecord employrecord) throws Exception;

    /**
     * 搜索分页查询
     * @param pageInfo
     * @return
     */
    public BaseDto  searchEmployeesByPage(PageInfo pageInfo, List<Condition> conditions) throws Exception;

}
